package com.loyal.mwm.ui.settings

import com.loyal.mwm.R
import com.loyal.mwm.base.BaseSwipeActivity
import com.loyal.mwm.databinding.ActivityServerBinding
import com.loyal.mwm.util.ImageUtil

class ServerActivity : BaseSwipeActivity<ActivityServerBinding>() {

    override fun setEdgePosition(): Int {
        return LEFT
    }

    override fun actLayoutRes(): Int {
        return R.layout.activity_server
    }

    override fun afterOnCreate() {
        val toolbar = binding.toolbar.root
        toolbar.title = "接入地址"
        setSupportActionBar(toolbar)
        binding.drawable = ImageUtil.getBackground(this)
    }
}